import React,{useState,useEffect} from 'react'

export default function Home (){

    // 改变页面标题
    useEffect(() => {
        window.document.title = '首页'
    },[])
    return (
        <div className='home'>
            <h1>首页</h1>
        </div>
    )
}
